//package com.many.backs.handler;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * Created by Administrator on 2020/12/3.
// */
//@Configuration
//public class InterceptorConfig implements WebMvcConfigurer {
//
//
//    @Autowired
//    private BackstageInterceptorHandle backstageInterceptorHandle;
//
//
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry){
//        registry.addInterceptor(backstageInterceptorHandle).addPathPatterns("/**")
//                .excludePathPatterns("/user/login").excludePathPatterns("/error");
//    }
//
//}
